# $Id: PKGBUILD 71756 2012-06-02 10:29:40Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-crypt-blowfish
pkgver=2.12
pkgrel=5
pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Crypt-Blowfish"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz")
md5sums=('a0eca17addc8bdaf38c044c365a8800c')

build() {
  cd $srcdir/Crypt-Blowfish-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
